/**
 * Created by chenyong on 2015/11/6.
 *
 * 游戏表
 * 每一场游戏一条记录
 * 一个全景图PanoId可能对于多条游戏记录
 */

var mongoose = require('mongoose'),
    Schema = mongoose.Schema;

var GameSchema = new Schema({
    name:String,
    startTime:Date,
    endTime:Date,
    status:String,
    scoreboard:[]  //积分榜
});

module.exports = mongoose.model('Game', GameSchema);
